package beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResponseData<T> {

    //为了实现数据的通用性，这里使用泛型来接受任意引用类型
    private T data;
    private Integer code;
    private String msg;
}
